zoomRect the rect of btn "screenButton", the rect of cd fld ("Info" & n)
show cd fld ("Info" & n)
end showField
on hideFields
repeat with n = 1 to 4
hide cd fld ("Info" & n)
end repeat
end hideFields
on resetScrolls
repeat with n = 1 to 3
set the scroll of cd fld ("Info" & n) to 0
end repeat
end resetScrolls
on runMainframe
repeat for 3
repeat with n = 1 to 5
show btn ("mb" & n)
wait 5
hide btn ("mb" & n)
end repeat
end repeat
end runMainframe
on showPicture str
set cursor to none
clearPicture
hideFields
runMainframe
if str = "BaltimoreOriole" then
put "STATE BIRD" into cd fld "Info4"
else
put "STATE SPORT" into cd fld "Info4"
end if
show cd fld "Info4"
wait 30
hide cd fld "Info4"
PaintPict str,cd,"screenButton"
end showPicture
on clearPicture
lock screen
choose button tool
choose browse tool
unlock screen
end clearPicture
-- part 22 (field)
-- low flags: 81
-- high flags: 2007
-- rect: left=63 top=213 right=289 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 15
-- part name: info3
----- HyperTalk script -----
on mouseUp
if 54 = 678 then
end if
end mouseUp
-- part 23 (field)
-- low flags: 81
-- high flags: 2007
-- rect: left=63 top=213 right=289 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 15
-- part name: info2
-- part 2 (button)
-- low flags: 80
-- high flags: 0000
-- rect: left=356 top=163 right=195 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 19465 / 19465
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: mb2
----- HyperTalk script -----
-- part 3 (button)
-- low flags: 80
-- high flags: 0000
-- rect: left=344 top=164 right=194 bottom=376
-- title width / last selected line: 0
-- icon id / first selected line: 19465 / 19465
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: mb3
----- HyperTalk script -----
-- part 4 (button)
-- low flags: 80
-- high flags: 0000
-- rect: left=332 top=163 right=195 bottom=364
-- title width / last selected line: 0
-- icon id / first selected line: 19465 / 19465
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: mb4
----- HyperTalk script -----
-- part 5 (button)
-- low flags: 80
-- high flags: 0000
-- rect: left=356 top=181 right=213 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 1391 / 1391
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: mb5
-- part 6 (button)
-- low flags: 80
-- high flags: 4000
-- rect: left=318 top=154 right=170 bottom=379
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: mb1
-- part 11 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=307 top=191 right=203 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 20550 / 20550
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: b1
----- HyperTalk script -----
on mouseUp
showPicture BaltimoreOriole
end mouseUp
-- part 18 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=307 top=199 right=211 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 20550 / 20550
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: b1
----- HyperTalk script -----
on mouseUp
showField 2
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=307 top=207 right=219 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 20550 / 20550
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: b1
----- HyperTalk script -----
on mouseUp
showField 1
end mouseUp
-- part 19 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=307 top=215 right=227 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 20550 / 20550
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: b1
----- HyperTalk script -----
on mouseUp
showPicture Jousting
end mouseUp
-- part 21 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=307 top=223 right=235 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 20550 / 20550
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: b1
----- HyperTalk script -----
on mouseUp
showField 3
end mouseUp
-- part 20 (field)
-- low flags: 81
-- high flags: 2007
-- rect: left=63 top=213 right=289 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 15
-- part name: info1
-- part 25 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=258 top=191 right=231 bottom=306
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: screenButton
----- HyperTalk script -----
on mouseUp
if 5 = 32 then
end if
end mouseUp
-- part 26 (field)
-- low flags: 81
-- high flags: 2002
-- rect: left=258 top=191 right=231 bottom=306
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 174
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: Info4
-- part contents for background part 1
----- text -----
HyperCard can be an engaging graphical front end to a mainframe database, allowing you to access the database information—and you might never know that a mainframe was lurking in the background.
Click the buttons on
the Macintosh computer
screen for a simulation.
-- part contents for card part 20
----- text -----
As of 1979, Maryland had a population of 4,176,100 in 9,891 square miles.
The highest point in Maryland is Backbone Mountain, in the extreme southwest point of the state; the mountain has an elevation of 3360 feet.
-- part contents for card part 22
----- text -----
The longest running conflict in the United States has been between rival Maryland and Virginian oystermen, over oysterbeds in the Chesapeake Bay.
-- part contents for card part 23
----- text -----
The capital of Maryland is Annapolis, the first capital of the United States. Annapolis has a charming downtown area, full of old, brick, Georgian homes and narrow cobblestone streets—and around any bend could be a small creek, full of blue crab and dinghies. The Naval Academy is also in Annapolis.